package pers.xx.sbm.entity;

import java.util.Date;

public class UserRole {
    private Integer id;

    private Integer roleId;

    private Integer userId;

    private Integer userRoleAddbyId;

    private String userRoleAddby;

    private Date userRoleAddTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserRoleAddbyId() {
        return userRoleAddbyId;
    }

    public void setUserRoleAddbyId(Integer userRoleAddbyId) {
        this.userRoleAddbyId = userRoleAddbyId;
    }

    public String getUserRoleAddby() {
        return userRoleAddby;
    }

    public void setUserRoleAddby(String userRoleAddby) {
        this.userRoleAddby = userRoleAddby;
    }

    public Date getUserRoleAddTime() {
        return userRoleAddTime;
    }

    public void setUserRoleAddTime(Date userRoleAddTime) {
        this.userRoleAddTime = userRoleAddTime;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", userId=" + userId +
                ", userRoleAddbyId=" + userRoleAddbyId +
                ", userRoleAddby='" + userRoleAddby + '\'' +
                ", userRoleAddTime=" + userRoleAddTime +
                '}';
    }
}